package com.aspire.boc.mms.gwcmp.dao;

import com.aspire.boc.mms.gwcmp.model.GwcmpProduct;
import com.aspire.boc.mms.gwcmp.model.GwcmpProductExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface GwcmpProductMapper {
	
	int getProductIdSequence();
	
	List<GwcmpProduct> getProductList(Map<String, Object> param);
	
	int countProductList(Map<String, Object> param);
	
	List<GwcmpProduct> getNoOccupiedProductList(
			Map<String, Object> param);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int countByExample(GwcmpProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int deleteByExample(GwcmpProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int deleteByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int insert(GwcmpProduct record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int insertSelective(GwcmpProduct record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    List<GwcmpProduct> selectByExample(GwcmpProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    GwcmpProduct selectByPrimaryKey(String id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int updateByExampleSelective(@Param("record") GwcmpProduct record, @Param("example") GwcmpProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int updateByExample(@Param("record") GwcmpProduct record, @Param("example") GwcmpProductExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int updateByPrimaryKeySelective(GwcmpProduct record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table GWCMP_PRODUCT
     *
     * @mbggenerated Fri Jan 15 17:37:17 CST 2016
     */
    int updateByPrimaryKey(GwcmpProduct record);

	


}